import Researcher from './researcher.vue'
import researcherAdd from './researcherAdd.vue'
import researcherSearch from './researcherSearch.vue'
import researcherView from './researcherView.vue'

const components = [
    Researcher,
    researcherAdd,
    researcherSearch,
    researcherView
]

const main = {
    install(Vue) {
        components.map((component) => {
            Vue.component(component.name, component)
        })
    }
}

export default main